# coding=utf-8

from loguru import logger

from mylib import download_all, update_all_csv

if __name__ == '__main__':
    logger.add('log/download_all_{time}.log')
    # 更新all.csv 一小时只能请求一次，默认不打开，必要时手动刷新
    # update_all_csv.run()
    # 下载所有 all.csv 个股
    # stocks = ['603003.SH']
    # download_all.run(stocks)
    download_all.run()
